/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package vn.webapp.dao;

import java.util.List;
import vn.webapp.model.Student;
import vn.webapp.model.Students;

public interface StudentsDAO 
{
    public List<Students> list();
    
    public Students viewDetail(int id);
    
    public Students checkExistsCode(String code, int id);
    
    public int removeStudent(int id);
    
    public int updateTheStudent(String code, String name, int classid, int id);
    
    public int saveAStudent(Students student);
    
    public int count();
    
    public List<Students> filter(int page, int pageSize);
}
